package edu.zut.software.identity.domain;

import com.sun.istack.Nullable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
/**
 * @author Weining
 */
@AllArgsConstructor
@NoArgsConstructor
@Entity(name ="tea_college" )
@Data
public class TeaCollege {
    @Id
    @Column
    String id;
    @Column
    String name;
    @Column
    @Nullable
    int wxId;
    @Column
    int wxParentId;
    @Column
    int px;

}
